package com.flyco.modules.sms.service.impl;

import com.flyco.modules.sms.entity.SmsPromotionStore;
import com.flyco.modules.sms.mapper.SmsPromotionStoreMapper;
import com.flyco.modules.sms.service.ISmsPromotionStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 活动门店关联表
 * @Author: flyco
 * @Date:   2022-05-05
 * @Version: V1.0
 */
@Service
public class SmsPromotionStoreServiceImpl extends ServiceImpl<SmsPromotionStoreMapper, SmsPromotionStore> implements ISmsPromotionStoreService {

    @Autowired
    private SmsPromotionStoreMapper smsPromotionStoreMapper;

    @Override
    public List<SmsPromotionStore> selectByMainId(Long mainId) {
        return smsPromotionStoreMapper.selectByMainId(mainId);
    }
}
